import request from "@/utils/request";
import { encryptionData } from '@/utils/com'
import Qs from "qs";
// 店铺信息
export const shopInfo = {

  //绑定或解绑手机 发送验证码
  getMobileCode(data) {
    return request({
      method: "get",
      url: "/payment/account/private/getMobileCode",
      headers: encryptionData(data, '/private/getMobileCode'),
      params: data,
    });
  },
  // 解绑之后重新绑定手机
  reBindMobile(data) {
    return request({
      method: "post",
      url: "/payment/account/private/reBindMobile",
      headers: encryptionData(data, '/private/reBindMobile'),
      data: Qs.stringify(data),
    });
  },
};
